package com.rbcs.reimb.service;

import java.util.List;

import org.springframework.stereotype.Service;

import com.rbcs.reimb.model.ReimbDetail;
import com.systop.core.service.BaseGenericsManager;

/**
 * 报销申请明细管理Manager
 * 
 * @author ShangHua
 */
@Service
public class ReimbDetailManager extends BaseGenericsManager<ReimbDetail> {

//获取主表对应的所有详细信息
	public List<ReimbDetail> getDetails(Integer reimbId) {
		List<ReimbDetail> detailList = query("from ReimbDetail u where u.reimb.id = ?", reimbId);		
		return detailList;
	}
}
